<template>
  <div class="initPage">
    <MainHeader :is-exam="isExam"/>
    <router-view @exam="isExam = $event"></router-view>
  </div>
</template>
<script>
import MainHeader from '@/components/m_header/index';

export default {
  name: 'HomePage',
  data() {
    return {
      isExam: false,
    };
  },
  methods: {
  },
  components: {
    MainHeader,
  },
};
</script>
<style lang="less">
@import url(../../static/style/site.comm.less);
@import url(../../static/style/site.vars.less);
.initPage {
  height: 100%;
  overflow-y: scroll;
  box-sizing: border-box;
  &::-webkit-scrollbar {
    display: none;
  }
  .scrollBar {
    height: 100%;
  }
}
</style>
